package elasticjob.job;

import com.dangdang.ddframe.job.api.AbstractSequencePerpetualElasticJob;
import com.dangdang.ddframe.job.api.JobExecutionSingleShardingContext;
import elasticjob.vo.Foo;

import java.util.List;

/**
 * Created by yxw on 2017/3/30.
 */
public class SequencePerpetualJob extends AbstractSequencePerpetualElasticJob<Foo>{
    protected List<Foo> fetchData(JobExecutionSingleShardingContext jobExecutionSingleShardingContext) {
        return null;
    }

    protected boolean processData(JobExecutionSingleShardingContext jobExecutionSingleShardingContext, Foo foo) {
        return false;
    }
}
